package xalan.smartgwt.criteria;

/**
 * 
 * Proste kryterium postaci nazwa_pola operator warto��_od warto��_do
 * 
 * <br />
 * Przyk�ady:
 * <ul>
 * <li>DATA BETWEEN '2010-01-01' AND '2010-02-01'</li>
 * <li>WIEK BETWEEN 20 AND 30</li>
 * </ul>
 * 
 * @author Xalan
 */
public class BetweenCriteria extends SimpleCriteria {
	private Object start;
	private Object end;
	
	public Object getStart() {
		return start;
	}
	
	public void setStart(Object start) {
		this.start = start;
	}
	
	public Object getEnd() {
		return end;
	}
	
	public void setEnd(Object end) {
		this.end = end;
	}
	
	@Override
	public void visit(CriteriaVisitator visitator) {
		visitator.visitBetweenCriteria(this);
	}
}
